home *** CD-ROM | disk | FTP | other *** search
- Path: tribune.usask.ca!aa144
- From: aa144@sfn.saskatoon.sk.ca (Clark Nikolai)
- Newsgroups: comp.sys.amiga.networking
- Subject: Re: ppp0IPLocal
- Date: 8 Jan 1996 19:18:23 GMT
- Organization: Saskatoon Free-Net
- Message-ID: <4crqlv$39d@tribune.usask.ca>
- References: <4cos37$c3u@tribune.usask.ca> <4cpamc$jgl@tribune.usask.ca> <kruse.53114568@america.com>
- NNTP-Posting-Host: broadway.sfn.saskatoon.sk.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- Holger Kruse (kruse@america.com) wrote:
- : > PPPReady.~}#@!}!z} }8}!}$}%\}"}&} } } } }%}&M}75}'}"}(}">%~
- : >
- : > Then sends out these (what I guess are binary packets) in intervals.
- : No, it is no such thing. Your dial script is simply waiting too long. It
- : is supposed to wait for the string "PPPReady" and then transfer control to
- : ppp. Please check your dial script.
-
- Well I've modified my dial script and it gives a different type of log
- file from PPPlog. Here is the dialscript:
-
- ECHO OFF
- TIMEOUT 150000 ; Set maximum wait time (in ticks)
- REDIAL "BUSY" ; Redial on busy signal
- DELAY 100
- SEND ""
- DELAY 50
- SEND "ATZ&D0" ; Initialize the modem
- DELAY 20
- WAIT "K" ; Wait for the OK
- SEND "ATDP955-1925" ; Dial
- DELAY 20
- WAIT "CT" ; Wait for connect
- DELAY 50
- SEND "" ; Send a CR-LF
- DELAY 20
- WAIT "ogin:" ; Wait for Name:
- SEND "myuserid" ; Send your User ID
- DELAY 20
- WAIT "assword:" ; Wait for Password:
- SEND "mypassword" ; Send your password
- WAIT "PPP Ready"
-
- The dialscript was made by the iNTERiNSTALL v 1.51 script.
-
- Here is the ppplog output:
- (After some initial stuff)
-
- PPP 0 12:57:43:8 FSM C021 changing state from Closed to ReqSent
- PPP 0 12:57:43:8 FSM C021 InitRestartCntConfig
- PPP 0 12:57:43:8 FSM C021 SendConfigReq
- PPP 0 12:57:43:8 InternalSendPacket C021
- PPP 0 12:57:43:9 01 02 00 0A 05 06 13 21 B9 D6
- .......!9V
- PPP 0 12:57:43:9 Received packet
- PPP 0 12:57:43:9 FF 03 C0 21 01 22 00 18 01 04 05 DC 02 06 00 00
- .@!.".....\....
- PPP 0 12:57:43:9 00 00 05 06 B5 44 A6 07 02 08 02 6A A4
- ....5D&....j$
- PPP 0 12:57:43:9 invalid packet checksum
- PPP 0 12:57:43:9 ReceivedGarbage
- PPP 0 12:57:43:9 DoEvent 4
- PPP 0 12:57:44:0 Received packet
- PPP 0 12:57:44:0 FF 03 C0 21 07 00 00 89 0C 01 00 85 00 00 00 00
- .@!............
- PPP 0 12:57:44:0 41 6D 69 67 61 20 50 50 50 20 56 31 2E 33 30 20 Amiga
- PPP V1.30
- PPP 0 12:57:44:0 28 30 34 2E 30 31 2E 39 35 29 20 36 38 30 32 30
- (04.01.95) 68020
- PPP 0 12:57:44:0 20 65 76 61 6C 75 61 74 69 6F 6E 20 76 65 72 73
- evaluation vers
- PPP 0 12:57:44:0 69 6F 6E 20 6F 6E 20 73 65 72 69 61 6C 2E 64 65 ion
- on serial.de
- PPP 0 12:57:44:0 76 69 63 65 20 75 6E 69 74 20 30 20 61 74 20 33 vice
- unit 0 at 3
- PPP 0 12:57:44:0 38 34 30 30 20 62 61 75 64 2E 20 43 6F 70 79 72 8400
- baud. Copyr
- PPP 0 12:57:44:0 69 67 68 74 20 28 43 29 20 31 39 39 34 20 62 79 ight
- (C) 1994 by
- PPP 0 12:57:44:0 20 48 6F 6C 67 65 72 20 4B 72 75 73 65 BE 4E
- Holger Kruse>N
- PPP 0 12:57:44:2 FSM C021 RcvCPReject+
- PPP 0 12:57:44:2 Received packet
- PPP 0 12:57:44:2 FF 03 C0 21 02 02 00 0A 05 06 13 21 B9 D6 A1 24
- .@!.......!9V!$
- PPP 0 12:57:44:2 Accepting local LCP configuration
- PPP 0 12:57:44:3 Negotiated options: Magic=1321B9D6
- PPP 0 12:57:44:3 FSM C021 RcvAck
- PPP 0 12:57:44:3 FSM C021 changing state from ReqSent to AckRcvd
- PPP 0 12:57:44:3 FSM C021 InitRestartCntConfig
- PPP 0 12:57:46:1 Received packet
- PPP 0 12:57:46:2 FF 03 C0 21 01 23 00 18 01 04 05 DC 02 06 00 00
- .@!.#.....\....
- PPP 0 12:57:46:2 00 00 05 06 B5 44 A6 07 02 08 02 A3 2D
- ....5D&....#-
- PPP 0 12:57:46:2 invalid packet checksum
- PPP 0 12:57:46:2 ReceivedGarbage
- PPP 0 12:57:46:2 DoEvent 4
- PPP 0 12:57:46:9 FSM C021 Timeout+
- PPP 0 12:57:46:9 FSM C021 changing state from AckRcvd to ReqSent
- PPP 0 12:57:46:9 FSM C021 SendConfigReq
- PPP 0 12:57:46:9 InternalSendPacket C021
- PPP 0 12:57:46:9 01 03 00 0A 05 06 13 21 B9 D6
- .......!9V
-
- And so on. It then repeats this until it times out.
-
- Here is one of the scripts I'm trying:
-
- AmiTCP:bin/online devs:networks/ppp.device 0
- AmiTCP:AmiTCP
- WaitForPort AMITCP
- ; Configure loop-back device
- AmiTCP:bin/ifconfig lo0 localhost
- ; Configure ppp0
- AmiTCP:bin/ifconfig ppp0 $ppp0IPLocal $ppp0IPRemote
- ; Add route to this host
- AmiTCP:bin/route add $ppp0IPLocal localhost
- ; Add route to the default gateway
- AmiTCP:bin/route add default $ppp0IPRemote
- SetEnv HOSTNAME `AmiTCP:bin/hostname`
- Assign >NIL: TCP: EXISTS
- IF WARN
- Mount TCP: FROM AmiTCP:devs/inet-mountlist
- EndIF
- ; Start the internet `super server'
- Run <NIL: >NIL: AmiTCP:bin/inetd
-
- So what happens is I execute this script, it then dials and opens a
- shell, then "CONNECT" etc.
- The server asks for the login: and the script gives it, same with
- password. Everythings is fine up to then. Then the server sends out "PPP
- Ready" and the packets. This is where it appears something goes wrong.
- Is there another command that goes at the end of the dial script that
- tells the PPP.device to kick in? I don't know what else to think.
- Hope you can help.
-
-